﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageBackEnd.master" AutoEventWireup="true" CodeFile="updateStaff.aspx.cs" Inherits="Pages_ManagerPages_updateStaff" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="block">
        <h2>Pesonal Info</h2>
        <ul>
            <li><i class="fa fa-angle-right"></i>Change Password</li>
            <li><i class="fa fa-angle-right"></i>Update Info</li>
        </ul>
    </div>
    <div class="block">
        <h2>PAGE</h2>
        <ul id="content-box-tabs">
            <li><i class="fa fa-angle-right"></i>Students
                <ul class="managerOption">
                    <li onclick="displayBlock('studentList');getAllStudent();"><i class="fa fa-angle-right"></i>Student List</li>
                    <li onclick="displayBlock('addStudent')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
            </li>
            <li><i class="fa fa-angle-right"></i>Staff
                <ul class="managerOption">
                     <li onclick="displayBlock('staffList')"><i class="fa fa-angle-right"></i>Staff List</li>
                     <li onclick="displayBlock('addStaff')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
             </li>
            <li><i class="fa fa-angle-right"></i>Competition
                <ul class="managerOption">
                    <li onclick="displayBlock('competitionList')"><i class="fa fa-angle-right"></i>Competition List</li>
                    <li onclick="displayBlock('addCompetition')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
            </li>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
     <div class="updateStaff">    
            <h4>Staff</h4>
         <asp:Label ID="lblWarningUpdateStaff" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="XX-Large" ForeColor="Red"></asp:Label>
            <table class="tableStaff">
                <tr>
                    <td>
                        <asp:Label ID="lblUsername" runat="server" Text="User Name :"></asp:Label>                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtUserName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblPassWord" runat="server" Text="Pass word :"></asp:Label>
                        
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassWord" runat="server" ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                         <asp:Label ID="lblFullName" runat="server" Text="Full name :"></asp:Label>                            
                        
                    </td>
                    <td>
                        <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>                                                  
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblAdress" runat="server" Text="Address :"></asp:Label>                            
                    </td>
                    <td>
                        <asp:TextBox ID="txtAddress" runat="server" ClientIDMode="Static"></asp:TextBox>                        
                    </td>
                </tr>
            </table>
            <table class="tableStaff">
                <tr>
                    <td>
                        <asp:Label  ID="lblEmail" runat="server" Text="Email :"></asp:Label>
                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtEmail" runat="server"></asp:TextBox>                         
                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Label  ID="lblPhone" runat ="server" Text="Phone :"></asp:Label>                            
                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtPhone" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblMajor" runat="server" Text="Major:"></asp:Label>                                                
                    </td>
                    <td>
                        <asp:TextBox ID="txtMajor" runat="server"></asp:TextBox>
                    </td>
                </tr>               
                <tr>
                    <td>
                        
                    </td>
                    <td >
                       <asp:Button ID="btnUpdateStaff" runat="server" Text="Update" ClientIDMode="Static" OnClick="btnUpdateStaff_Click" />
                    </td>
                </tr>
            </table>                                          
        
</div>

</asp:Content>

